import { legacy_createStore as createStore } from 'redux';
import todoReducer from './reducer/todo';

// 2. src/store/index 创建store createStore
const store = createStore(todoReducer);
export default store;
